package com.tfjybj.itoo.teach.template;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.jplus.hyberbin.excel.annotation.ExcelModelConfig;
import org.jplus.hyberbin.excel.annotation.Lang;

import javax.persistence.Column;
import java.io.Serializable;

@ExcelModelConfig
@ApiModel(value = "InstitutionModel:教学部门表，用于下载模板和导入")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
/**
 * 导入的党政部门信息
 *
 * @author 杨燕梅
 * @version 2.0.0
 * @since 2.0.0 2018-11-29 15:04:18
 */
public class InstitutionTemplate implements Serializable {
    @ApiModelProperty(value = "institution主键")
    @Column(name = "id")
    private String id;
    /**
     * 党政部门代码
     */
    @Lang("党政部门代码")
    private String code;

    /**
     * 党政部门名称
     */
    @Lang("党政部门名称")
    private String name;

    /**
     * 党政部门简称
     */
    @Lang("党政部门简称")
    private String abbreviation;

    /**
     * 备注
     */
    @Lang("备注")
    private String remark;

    /**
     * 失败原因
     */
    @Lang("失败原因")
    private String failReason;
}
